package com.yunqiao.service.api.impl;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.yunqiao.common.utils.PageUtils;
import com.yunqiao.service.api.HostService;
import com.yunqiao.service.api.entity.HostEntity;
import com.yunqiao.service.api.mapper.HostMapper;
import org.springframework.stereotype.Service;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;

import java.util.List;


@Service("hostService")
public class HostServiceImpl extends ServiceImpl<HostMapper, HostEntity> implements HostService {
    @Override
    public List<HostEntity> queryList(String version) {
        return this.baseMapper.selectList(new QueryWrapper<HostEntity>().eq("version",version));
    }
}
